//
//  MJHomeViewModel.h
//  MJ
//
//  Created by lina on 2017/12/1.
//  Copyright © 2017年 lina. All rights reserved.
//

#import <Foundation/Foundation.h>

@class MJHomeModel, MJHomeCarouseModel;
@interface MJHomeViewModel : NSObject

/** 首页的列表数据 */
+(void)requestHomeListDataWithPage:(NSInteger)page Success:(void (^) (MJHomeModel*homeModel))requestSuccess failure:(void(^)(NSError *error))requestFailure netWorkState:(void (^) (BOOL netWorkState))netWorkState;



/** 首页的轮播图 */
+(void)requestHomeCarouseListDataSuccess:(void (^) (NSArray <MJHomeCarouseModel *> *carouseArr))requestSuccess failure:(void(^)(NSError *error))requestFailure netWorkState:(void (^) (BOOL netWorkState))netWorkState;
@end
